<!-- left side start-->
    <div class="left-side sticky-left-side">

        <!--logo and iconic logo start-->
        <div class="logo" style="padding:0px; margin:0px; line-height: 50px; color: white; text-align: center; font-size: 25px; text-indent: 6px;">长信安昌</div>

        
        <!--logo and iconic logo end-->

        <div class="left-side-inner">

            <!-- visible to small devices only -->
            <div class="visible-xs hidden-sm hidden-md hidden-lg">
                <div class="media logged-user">
                    <img alt="" src="/static/images/public/photos/user-avatar.png" class="media-object">
                    <div class="media-body">
                        <h4>{$userName}</h4>
                        <!--<span>"Hello There..."</span>-->
                    </div>
                </div>

                <!--<h5 class="left-nav-title">Account Information</h5>-->
                <ul class="nav nav-pills nav-stacked custom-nav">
                  <li><a href="/admin/User/getPasswordEdit" style="cursor:pointer"><i class="fa fa-user"></i> <span>{:lang("修改密码")}</span></a></li>
                  <li><a onclick="logout()" style="cursor:pointer"><i class="fa fa-sign-out"></i> <span>{:lang("退出")}</span></a></li>
                </ul>
            </div>

            <!--sidebar nav start-->
            <ul class="nav nav-pills nav-stacked custom-nav">
                <li class="active"><a href="/admin/home"><i class="fa fa-home"></i> <span>{:lang("首页")}</span></a></li>
                <!--一级菜单-->
                
                {foreach name="menulist" item="vo1"}
                  {if condition="$vo1.menu_level eq 0 "}
                     {in name="$vo1.id" value="$Think.session.menu_auth"}
                        <li class="menu-list {if condition="$Request.param.pId eq $vo1.id "} nav-active {/if}">
                            <a href=""><i style="padding-right:8px"><img src="{$vo1.menu_icon}"/></i> <span>{:lang($vo1.menu_name)}</span></a>
                            <ul class="sub-menu-list">
                            {foreach name="menulist" item="vo2"}
                              {if condition="$vo2.parent_id eq $vo1.id "}
                                 {in name="$vo2.id" value="$Think.session.menu_auth"}
                                   <li><a href="{$vo2.menu_url}">{:lang($vo2.menu_name)}</a></li>
                                 {/in}
                              {/if}
                            {/foreach}
                            
                            </ul>
                        </li>
                     {/in}
                  {/if}
                
                {/foreach}
                
       
            </ul>
            <!--sidebar nav end-->

        </div>
    </div>
    <!-- left side end-->